package com.nowcoder.community.config;

import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.stereotype.Component;

@Component
@EnableScheduling
@EnableAsync // @Async可以让一个方法在多线程环境下，被异步的调用
public class ThreadPoolConfig {
}
